package com.skyolder.milkbee.repository;

import com.skyolder.milkbee.domain.Area;

import org.springframework.data.jpa.repository.*;

import java.util.List;

/**
 * Spring Data JPA repository for the Area entity.
 */
@SuppressWarnings("unused")
public interface AreaRepository extends JpaRepository<Area,Long> {

	List<Area> findByRankAndParent(int rank,long parent);
}
